.courseContainer {
    display: flex;
    min-height: 100vh;
    background: #f7f8fa;

    .sidebarWrapper {
        width: 90px;
        background: #fff;
        box-shadow: 1px 0 4px rgba(0, 0, 0, 0.05);
        
        :global {
            .adm-side-bar {
                height: calc(100vh - 50px);
                --item-border-radius: 0;
                
                .adm-side-bar-item {
                    padding: 14px 12px;
                    font-size: 14px;
                    color: #666;
                    transition: all 0.3s;
                    
                    &-active {
                        background: #f0f7ff;
                        color: #1677ff;
                        font-weight: 500;
                        position: relative;

                        &::before {
                            content: '';
                            position: absolute;
                            left: 0;
                            top: 50%;
                            transform: translateY(-50%);
                            width: 3px;
                            height: 20px;
                            background: #1677ff;
                            border-radius: 0 2px 2px 0;
                        }
                    }

                    &:hover {
                        color: #1677ff;
                    }
                }
            }
        }
    }

    .courseContent {
        flex: 1;
        padding: 16px;
        height: calc(100vh - 50px);
        overflow-y: auto;
        position: relative;

        .courseList {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .courseCard {
            border-radius: 12px;
            overflow: hidden;
            background: #fff;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
            transition: all 0.3s ease;
            margin-left: 10px;
            &:hover {
                transform: translateY(-2px);
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            }

            .courseImage {
                width: 100%;
                height: 180px;
                object-fit: cover;
            }

            .courseInfo {
                padding: 16px;

                .hotTag {
                    margin-bottom: 8px;
                    font-size: 12px;
                }

                h4 {
                    margin: 0;
                    font-size: 16px;
                    color: #333;
                    font-weight: 500;
                }

                .levelTag {
                    margin: 8px 0;
                    font-size: 12px;
                }

                .footer {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    margin-top: 12px;

                    .price {
                        color: #ff4d4f;
                        font-size: 18px;
                        font-weight: bold;
                    }

                    .students {
                        color: #999;
                        font-size: 12px;
                    }
                }
            }
        }

        .emptyWrapper {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100%;
            text-align: center;
            padding: 0 16px;
        }
    }
}

.noCourses {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;  // 设置高度
    background: rgba(255, 255, 255, 0.8);  // 半透明背景
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);  // 添加阴影
    color: #666;
    font-size: 16px;
    text-align: center;
    padding: 20px;  // 添加内边距
    margin: 16px;  // 添加外边距
}

.emptyContainer {
    display: flex;
    justify-content: center;  // 水平居中
    align-items: center;      // 垂直居中
    height: calc(100vh - 45px - 50px);  // 确保占满可用高度
    width: 100%;  // 确保宽度为100%
    padding: 16px;  // 添加内边距
} 